﻿/**************************************************
* 版权所有:Copyright (C) 
* 作    者:蔡海翔
* 创建日期:2014/6/19 9:50:49
* 描    述:领用单明细
* 修改日期:
* 修改内容:
****************************************************/

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataEntity
{
    [Table("OffRequisitionBillDetail")]
    public class OffRequisitionBillDetail
    {
        [Key]
        public int ID { get; set; }
        [Display(Name = "出库单编号")]
        public int OffRequisitionBillID { get; set; }

        [Display(Name = "物品主键")]
        public int OffGoodsID { get; set; }

        [Display(Name = "数量")]
        public int Quantity { get; set; }

        [Display(Name = "税后单价")]
        public decimal AfterTaxPrice { get; set; }

        [Display(Name = "单价")]
        public decimal Price { get; set; }

        [Display(Name = "备注")]

        public string Remark { get; set; }
        [ForeignKey("OffRequisitionBillID")]
        public virtual OffRequisitionBill OffRequisitionBill { get; set; }

        [ForeignKey("OffGoodsID")]
        public virtual OffGoods OffGoods { get; set; }
    }
}
